# $Id: PKGBUILD 88295 2013-04-16 02:34:03Z bgyorgy $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: tobias <tobias@archlinux.org>
# Contributor: Tobias Kieslich <tobias@justdreams.de>

pkgname=gphpedit
pkgver=0.9.98RC1
pkgrel=4
pkgdesc="a scintilla/gnome based editor specialized on php-files"
arch=(i686 x86_64)
license=('GPL')
depends=('gconf' 'webkitgtk2' 'desktop-file-utils' 'hicolor-icon-theme')
makedepends=('intltool')
url="http://www.gphpedit.org/"
options=('!makeflags')
install=gphpedit.install
source=(http://www.gphpedit.org/sites/default/files/gphpedit-$pkgver.tar.gz)
md5sums=('cc3c5f50704fa0ed3ef3d4ac983db525')

build() {
  cd ${srcdir}/*$pkgname*
  LDFLAGS=`pkg-config --libs gmodule-2.0` ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var
  make
}

package() {
  cd ${srcdir}/*$pkgname*
  make DESTDIR=$pkgdir install
}
